package kr.hkit.powerjava.chapter08.work;
/* PROGRAMMING 05 Employee 클래스를 생성하고 테스트 하라*/
class Employee{
	private String name;
	private String phoneNumber;
	private int salary;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	@Override
	public String toString() {
		return "Employee [name=" + name + ", phoneNumber=" + phoneNumber
				+ ", salary=" + salary + "]";
	}
}// end of Employee Class
public class EmployeeTest {
	public static void main(String[] args) {
		Employee e1 = new Employee();
		e1.setName("박철수");
		e1.setPhoneNumber("010-2111-1324");
		e1.setSalary(3000);
		System.out.println(e1);
	}
}// end of EmployeeTest Class
